<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2023/3/22
  Time: 15:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>商品表格</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css"/>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.4/jquery.js"></script>
    <style>
        .table tbody tr td{
            vertical-align: middle;
        }
    </style>
</head>
<body>
<div class="container py-4">
    <table class="table">
        <thead>
        <tr>
            <th scope="col"><input class="form-check-input" type="checkbox" onchange="selectAll(this)"></th>
            <th scope="col">商品名称</th>
            <th scope="col">价格</th>
            <th scope="col">购买数量</th>
        </tr>
        </thead>
        <tbody>

        </tbody>
    </table>
    <button type="button" class="btn btn-primary buyBtn" onclick="buy()">下单</button>
</div>
</body>
<script src="${pageContext.request.contextPath}/js/index.js"></script>
</html>

